package top.kpromise.user.service_imp;

import org.springframework.stereotype.Service;
import top.kpromise.user.mapper.AppInfoMapper;
import top.kpromise.user.model.response.AppInfo;
import top.kpromise.user.service.AppInfoService;

@Service
public class AppInfoImp implements AppInfoService {

    private final AppInfoMapper appInfoMapper;

    public AppInfoImp(AppInfoMapper appInfoMapper) {
        this.appInfoMapper = appInfoMapper;
    }

    @Override
    public AppInfo getByAppId(String appId) {
        return appInfoMapper.getByAppId(appId);
    }
}
